package com.bdqn.t296.noso.service.Imp;

import com.bdqn.t296.noso.entity.Role;
import com.bdqn.t296.noso.mapper.RoleMapper;
import com.bdqn.t296.noso.service.RoleService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

@Service
public class RoleServiceImp implements RoleService {
    @Resource
    RoleMapper roleMaper;

    public Role userRole(int userid) {
        System.out.println("service" + userid);
        return roleMaper.userRole(userid);
    }
}
